package com.bbdjt.weixin.service;

import java.util.List;
import com.bbdjt.weixin.model.ForumPost;
import com.bbdjt.weixin.model.ForumPostQueryModel;
import com.github.pagehelper.PageInfo;
import com.bbdjt.weixin.base.service.BaseService;

public interface ForumPostService extends BaseService<ForumPost> {

	 /**
     * 根据条件分页查询
     *
     * @param country
     * @param page
     * @param rows
     * @return
     */
    List<ForumPost> selectByForumPost(ForumPost forumPost, int page, int rows);
    
     /**
     * 根据条件查询
     *
     * @param country
     * @return
     */
    List<ForumPost> selectByForumPost(ForumPost forumPost);
    
    List<ForumPost> selectByForumPost(ForumPostQueryModel forumPost);
    
    /**
     * 分页查询
     *
     * @param queryModel
     * @return
     */
    PageInfo<ForumPostQueryModel> selectByForumPostQueryModel(ForumPostQueryModel forumPost);

    List<ForumPost> selectAllForumPost(ForumPost forumPost);

	ForumPost selectDetailsForumPost(ForumPost forumPost);

}